package com.ztesoft.web.common.db.dao.mapper;

import com.ztesoft.web.common.db.arg.SysParamArg;
import com.ztesoft.web.common.db.po.SysParamPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ISysParamMapper {
    
    List<Integer> countByArg(SysParamArg arg);

    List<SysParamPO> selectByArg(SysParamArg arg);

    SysParamPO selectByPrimaryKey(Integer id);

    List<SysParamPO> selectByArgAndPage(SysParamArg arg, RowBounds rowBound);

    int insert(SysParamPO record);

    int insertSelective(SysParamPO record);

    int insertBatch(@Param("list") List<SysParamPO> records);

    int updateByArgSelective(@Param("record") SysParamPO record,
            @Param("arg") SysParamArg arg);

    int updateByArg(@Param("record") SysParamPO record,
            @Param("arg") SysParamArg arg);

    int updateByPrimaryKeySelective(SysParamPO record);

    int updateByPrimaryKey(SysParamPO record);
    
    int deleteByArg(SysParamArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
    SysParamPO selectByParamName(String paramName);
}